package com.automobile.backstage.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/*
 * 购物地址
 */
@JsonIgnoreProperties(value = { "handler" })
public class Site implements Serializable{

    private int id;
    private String name;
    private String phone;
    private String province;//省份
    private String city;//城市
    private String region;//区
    private String detailed;//详细地址
    private int isDefault;//是否是默认地址
    private int userId;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getProvince() {
        return province;
    }
    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getRegion() {
        return region;
    }
    public void setRegion(String region) {
        this.region = region;
    }
    public String getDetailed() {
        return detailed;
    }
    public void setDetailed(String detailed) {
        this.detailed = detailed;
    }
    public int getIsDefault() {
        return isDefault;
    }
    public void setIsDefault(int isDefault) {
        this.isDefault = isDefault;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    @Override
    public String toString() {
        return "Site [id=" + id + ", name=" + name + ", phone=" + phone + ", province=" + province + ", city=" + city
                + ", region=" + region + ", detailed=" + detailed + ", isDefault=" + isDefault + ", userId=" + userId
                + "]";
    }

}
